package com.ruoyi.gcgl.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 项目成员管理对象 sj_project_people
 * 
 * @author ruoyi
 * @date 2025-08-07
 */
public class SjProjectPeople extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;
    
    private Long pId;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long gcProjectid;
    
    private String projectName;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 员工号 */
    @Excel(name = "员工号")
    private String code;

    /** 部门 */
    @Excel(name = "部门")
    private String deptName;

    /** 角色 */
    @Excel(name = "角色")
    private String ruleName;

    /** 计划开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pstartAt;

    /** 计划完成日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "计划完成日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pendAt;

    /** 权重 */
    @Excel(name = "权重")
    private String qz;

    /** 有效工时 */
    @Excel(name = "有效工时")
    private String yxgs;

    /** 计划工时 */
    @Excel(name = "计划工时")
    private String jhgs;

    /** 实际工时 */
    @Excel(name = "实际工时")
    private String sjgs;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    
    public Long getpId() {
		return pId;
	}

	public void setpId(Long pId) {
		this.pId = pId;
	}

	public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGcProjectid(Long gcProjectid) 
    {
        this.gcProjectid = gcProjectid;
    }

    public Long getGcProjectid() 
    {
        return gcProjectid;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setRuleName(String ruleName) 
    {
        this.ruleName = ruleName;
    }

    public String getRuleName() 
    {
        return ruleName;
    }
    public void setPstartAt(Date pstartAt) 
    {
        this.pstartAt = pstartAt;
    }

    public Date getPstartAt() 
    {
        return pstartAt;
    }
    public void setPendAt(Date pendAt) 
    {
        this.pendAt = pendAt;
    }

    public Date getPendAt() 
    {
        return pendAt;
    }
    public void setQz(String qz) 
    {
        this.qz = qz;
    }

    public String getQz() 
    {
        return qz;
    }
    public void setYxgs(String yxgs) 
    {
        this.yxgs = yxgs;
    }

    public String getYxgs() 
    {
        return yxgs;
    }
    public void setJhgs(String jhgs) 
    {
        this.jhgs = jhgs;
    }

    public String getJhgs() 
    {
        return jhgs;
    }
    public void setSjgs(String sjgs) 
    {
        this.sjgs = sjgs;
    }

    public String getSjgs() 
    {
        return sjgs;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }
    
    public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gcProjectid", getGcProjectid())
            .append("name", getName())
            .append("code", getCode())
            .append("deptName", getDeptName())
            .append("ruleName", getRuleName())
            .append("pstartAt", getPstartAt())
            .append("pendAt", getPendAt())
            .append("qz", getQz())
            .append("yxgs", getYxgs())
            .append("jhgs", getJhgs())
            .append("sjgs", getSjgs())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
